summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-20 19:30:35 +0100
committerGitHub <noreply@github.com>2022-11-20 19:30:35 +0100
commitaab68674c0c0174c9f23c9eb8ff350104aee530b (patch)
treedf40176849191d0a99d814fe4c9c505d04ae6239
parentMerge pull request #9216 from vonchenplus/reimp_inline_index_buffer (diff)
parentdmnt:cht: fix copy-paste error (diff)
downloadyuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.tar
yuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.tar.gz
yuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.tar.bz2
yuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.tar.lz
yuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.tar.xz
yuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.tar.zst
yuzu-aab68674c0c0174c9f23c9eb8ff350104aee530b.zip
-rw-r--r--src/core/memory/dmnt_cheat_vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cpp
index de96fcb8e..31ffc4fbb 100644
--- a/src/core/memory/dmnt_cheat_vm.cpp
+++ b/src/core/memory/dmnt_cheat_vm.cpp
@@ -761,7 +761,7 @@ void DmntCheatVm::Execute(const CheatProcessMetadata& metadata) {
u64 src_address =
GetCheatProcessAddress(metadata, begin_cond->mem_type, begin_cond->rel_address);
u64 src_value = 0;
- switch (store_static->bit_width) {
+ switch (begin_cond->bit_width) {
case 1:
case 2:
case 4: